#include "tcp_server.hpp"

int main(int agec,char* agev[])
{
  if(agec!=2)
  {
    std::cerr<<"usage:"<<agev[0]<<"port"<<std::endl;
    exit(1);
  }

  int port=atoi(agev[1]);
  TcpServer Sev(port);
  Sev.InitTcpServer();
  Sev.Loop();
  return 0;
}
